package com.his.dictresource.vo;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class DictResourceItemVo {
    /**
     *
     * 资源类型编码
     *
     * @mbggenerated
     */
    @NotEmpty(message = "资源类型编码不能为空")
    private String resourcetypeid;

    /**
     *
     * 资源编码
     *
     * @mbggenerated
     */
    @NotEmpty(message = "不能为空")
    private String resourceid;

    /**
     *
     * 机构编码
     *
     * @mbggenerated
     */
    @NotEmpty(message = "机构编码不能为空")
    private String orgid;

    /**
     *
     * 项目编码
     *
     * @mbggenerated
     */
    @NotEmpty(message = "不能为空")
    private String itemid;
    /**
     *
     * 是否可选择项目如病历本费
     *
     * @mbggenerated
     */
    private Short chooseableflag;

    /**
     *
     * 项目零售价
     *
     * @mbggenerated
     */
    @NotNull(message = "项目零售价不能为空")
    private BigDecimal salesprice;

    /**
     *
     * 医院编码
     *
     * @mbggenerated
     */
    @NotEmpty(message = "医院编码不能为空")
    private String hospid;
}
